package com.supermarket.seefood51.login.model

import android.content.Context
import com.supermarket.seefood51.login.presenter.LoginPresenter
import com.supermarket.seefood51.login.presenter.LoginPresenterImpl
import com.supermarket.seefood51.login.view.LoginView
import dagger.Module
import dagger.Provides

@Module
class LoginInjectModel(private var mContext: Context,
                       private var mLoginView: LoginView) {

    @Provides
    fun providePresenter():LoginPresenter{
        return LoginPresenterImpl(mContext,mLoginView)
    }

}